package com.reger.test.base.dao;

import java.util.List;

import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import com.reger.test.base.model.Base;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

public interface BaseMapper extends Mapper<Base>, MySqlMapper<Base> {
	
	@ResultMap("BaseResultMap")
	@Select("select a.* from base a")
	List<Base> findAll();
}